<?php /* Template_ 2.2.4 2011/09/28 09:20:06 E:\PHP\www\sagapo\template_\default\admin\dash\index.html 000005593 */ 
$TPL_main_list_1=empty($TPL_VAR["main_list"])||!is_array($TPL_VAR["main_list"])?0:count($TPL_VAR["main_list"]);
$TPL_list_1=empty($TPL_VAR["list"])||!is_array($TPL_VAR["list"])?0:count($TPL_VAR["list"]);?>
<script>
	$(function() {
		$("#to_gaeri").dialog({
			modal:true
			,resizable:false
			,width:450
			,buttons: {
				"닫기" : function() {
					$( this ).dialog( "close" );
				}
			}
		});	
	});
</script>
<h2 class="dash">알림판</h2>
<section class="section1">
	<div class="anniversary">
		<div class="area_title">
			<div class="title">
				<h3>
					<span class="name_title">akddd & gaeri</span>
					<span class="sub_title">기념일 현황</span>
				</h3>
			</div>
			<div class="detail">
				<a href="<?php echo $TPL_VAR["CFG"]->PATH->WWWADMIN?>/anniversary/" class="details">▶ 자세히보기</a>
			</div>
		</div>
		<div class="aani_container">
			<div class="anni_content">
				<div class="big">
					<h3>TODAY : <?php echo date("Y-m-d")?></h3> 
					<ul>
<?php if($TPL_main_list_1){foreach($TPL_VAR["main_list"] as $TPL_V1){?>
						<li>
							<a href="<?php echo $TPL_VAR["CFG"]->PATH->WWWADMIN?>/anniversary/view/<?php echo $TPL_V1->ay_seq?>">
								<p class="day_title">
									<img src="<?php echo $TPL_VAR["CFG"]->PATH->IMAGE?>/icons/heart_b.png" alt="" />
									<?php echo $TPL_V1->ay_name?>

								</p>
								<p class="day">D<?php echo $TPL_V1->days?></p>
							</a>	
						</li>
<?php }}?>
					</ul>
				</div>
				<div class="anni_list">
					<div class="anni_list_content">
						<h3>기념일 정보</h3>
						<ul class="list">
<?php if($TPL_list_1){$TPL_I1=-1;foreach($TPL_VAR["list"] as $TPL_V1){$TPL_I1++;?>
							<li>
								<a href="<?php echo $TPL_VAR["CFG"]->PATH->WWWADMIN?>/anniversary/view/<?php echo $TPL_V1->ay_seq?>" class="anni">
									<div class="anni_name <?php if(($TPL_I1% 2)== 0){?>akddd<?php }else{?>gaeri<?php }?> "><?php echo $TPL_V1->ay_name?></div>
									<div class="anni_day"><?php echo $TPL_V1->display_day?> (<span class="red">D<?php echo $TPL_V1->days?></span>)</div>
								</a>
							</li>
<?php }}?>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>
<section class="section1">
	<div class="latest">
		<div class="latest_cell">
			<div class="area_title hr">
				<div class="title">
					<h3>
						최신글
					</h3>
				</div>
				<div class="detail">
					<a href="#" class="details">▶ 더보기</a>
				</div>
			</div>
			<ul class="list">
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject akddd">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject akddd">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
			</ul>
		</div>
		<div class="latest_cell">
			<div class="area_title hr">
				<div class="title">
					<h3>
						최신글
					</h3>
				</div>
				<div class="detail">
					<a href="#" class="details">▶ 더보기</a>
				</div>
			</div>
			<ul class="list">
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject akddd">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject akddd">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
			</ul>
		</div>
	</div>
</section>
<section class="section1">
	<div class="area_title hr">
		<div class="title">
			<h3>
				사진
			</h3>
		</div>
		<div class="detail">
			<a href="#" class="details">▶ 더보기</a>
		</div>
	</div>
	<script>
		$(function() {
			$('#slider').nivoSlider();
		});	
	</script>
	<div class="slider-wrapper">    
        <div id="slider" class="nivoSlider">
			<img src="<?php echo $TPL_VAR["CFG"]->PATH->IMAGE?>/toystory.jpg" alt="" />
            <img src="<?php echo $TPL_VAR["CFG"]->PATH->IMAGE?>/walle.jpg" alt="" />
            <img src="<?php echo $TPL_VAR["CFG"]->PATH->IMAGE?>/nemo.jpg" alt="" title="#htmlcaption" />
        </div>
		<div id="htmlcaption" class="nivo-html-caption">
			title링크걸면 이게 표시됨.
		</div>
	</div> 
</section>
<div id="to_gaeri" title="사랑해요~"> 
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
</div>